package com.fang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Fang Ruichuan
 * @date 2022-08-27 21:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "基线实体类")
public class BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    private LocalDateTime created;

    private LocalDateTime updated;

    private Integer status;

}
